Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(first): will now only emit one value in recursive cases #2100

Merged
merged 1 commit into from
Nov 5, 2016
Merged

fix(first): will now only emit one value in recursive cases #2100

merged 1 commit into from
Nov 5, 2016

Conversation

benlesh
Copy link
Member

@benlesh benlesh commented Nov 3, 2016

adds guard after first emitted value to prevent reentrant behavior

fixes #2098

@kwonoj
Copy link
Member

kwonoj commented Nov 3, 2016

LGTM

@kwonoj
Copy link
Member

kwonoj commented Nov 3, 2016

Travis failure seems coming from yarn packging installation, not sure why it fails suddenly though. Maybe revert to npm and need discuss introducing yarn seperately.

adds guard after first emitted value to prevent reentrant behavior

fixes #2098
@coveralls
Copy link

Coverage Status

Coverage increased (+0.001%) to 97.594% when pulling 80ca01d on blesh:fix-first into 39214f2 on ReactiveX:master.

@jayphelps jayphelps merged commit a047e7a into ReactiveX:master Nov 5, 2016
@lock
Copy link

lock bot commented Jun 6, 2018

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Jun 6, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

first() produce a lot more than 1 data in some recursive situation.
4 participants